<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>InfStandaloneIo</title>
<meta name="generator" content="DocBook XSL Stylesheets V1.76.0">
<link rel="home" href="index.html" title="libinfinity-0.4 Reference Manual">
<link rel="up" href="ch02.html" title="Common libinfinity API">
<link rel="prev" href="InfIo.html" title="InfIo">
<link rel="next" href="libinfinity-0.4-InfCertificateChain.html" title="InfCertificateChain">
<meta name="generator" content="GTK-Doc V1.15 (XML mode)">
<link rel="stylesheet" href="style.css" type="text/css">
</head>
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="2">
<tr valign="middle">
<td><a accesskey="p" href="InfIo.html"><img src="left.png" width="24" height="24" border="0" alt="Prev"></a></td>
<td><a accesskey="u" href="ch02.html"><img src="up.png" width="24" height="24" border="0" alt="Up"></a></td>
<td><a accesskey="h" href="index.html"><img src="home.png" width="24" height="24" border="0" alt="Home"></a></td>
<th width="100%" align="center">libinfinity-0.4 Reference Manual</th>
<td><a accesskey="n" href="libinfinity-0.4-InfCertificateChain.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td>
</tr>
<tr><td colspan="5" class="shortcuts">
<a href="#InfStandaloneIo.synopsis" class="shortcut">Top</a>
                   | 
                  <a href="#InfStandaloneIo.description" class="shortcut">Description</a>
                   | 
                  <a href="#InfStandaloneIo.object-hierarchy" class="shortcut">Object Hierarchy</a>
                   | 
                  <a href="#InfStandaloneIo.implemented-interfaces" class="shortcut">Implemented Interfaces</a>
</td></tr>
</table>
<div class="refentry" title="InfStandaloneIo">
<a name="InfStandaloneIo"></a><div class="titlepage"></div>
<div class="refnamediv"><table width="100%"><tr>
<td valign="top">
<h2><span class="refentrytitle"><a name="InfStandaloneIo.top_of_page"></a>InfStandaloneIo</span></h2>
<p>InfStandaloneIo</p>
</td>
<td valign="top" align="right"></td>
</tr></table></div>
<div class="refsynopsisdiv" title="Synopsis">
<a name="InfStandaloneIo.synopsis"></a><h2>Synopsis</h2>
<pre class="synopsis">                    <a class="link" href="InfStandaloneIo.html#InfStandaloneIo-struct" title="InfStandaloneIo">InfStandaloneIo</a>;
                    <a class="link" href="InfStandaloneIo.html#InfStandaloneIoClass" title="InfStandaloneIoClass">InfStandaloneIoClass</a>;
<a class="link" href="InfStandaloneIo.html" title="InfStandaloneIo"><span class="returnvalue">InfStandaloneIo</span></a> *   <a class="link" href="InfStandaloneIo.html#inf-standalone-io-new" title="inf_standalone_io_new ()">inf_standalone_io_new</a>               (<em class="parameter"><code><span class="type">void</span></code></em>);
<span class="returnvalue">void</span>                <a class="link" href="InfStandaloneIo.html#inf-standalone-io-iteration" title="inf_standalone_io_iteration ()">inf_standalone_io_iteration</a>         (<em class="parameter"><code><a class="link" href="InfStandaloneIo.html" title="InfStandaloneIo"><span class="type">InfStandaloneIo</span></a> *io</code></em>);
<span class="returnvalue">void</span>                <a class="link" href="InfStandaloneIo.html#inf-standalone-io-iteration-timeout" title="inf_standalone_io_iteration_timeout ()">inf_standalone_io_iteration_timeout</a> (<em class="parameter"><code><a class="link" href="InfStandaloneIo.html" title="InfStandaloneIo"><span class="type">InfStandaloneIo</span></a> *io</code></em>,
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> timeout</code></em>);
<span class="returnvalue">void</span>                <a class="link" href="InfStandaloneIo.html#inf-standalone-io-loop" title="inf_standalone_io_loop ()">inf_standalone_io_loop</a>              (<em class="parameter"><code><a class="link" href="InfStandaloneIo.html" title="InfStandaloneIo"><span class="type">InfStandaloneIo</span></a> *io</code></em>);
<span class="returnvalue">void</span>                <a class="link" href="InfStandaloneIo.html#inf-standalone-io-loop-quit" title="inf_standalone_io_loop_quit ()">inf_standalone_io_loop_quit</a>         (<em class="parameter"><code><a class="link" href="InfStandaloneIo.html" title="InfStandaloneIo"><span class="type">InfStandaloneIo</span></a> *io</code></em>);
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>            <a class="link" href="InfStandaloneIo.html#inf-standalone-io-loop-running" title="inf_standalone_io_loop_running ()">inf_standalone_io_loop_running</a>      (<em class="parameter"><code><a class="link" href="InfStandaloneIo.html" title="InfStandaloneIo"><span class="type">InfStandaloneIo</span></a> *io</code></em>);
</pre>
</div>
<div class="refsect1" title="Object Hierarchy">
<a name="InfStandaloneIo.object-hierarchy"></a><h2>Object Hierarchy</h2>
<pre class="synopsis">
  <a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GObject">GObject</a>
   +----InfStandaloneIo
</pre>
</div>
<div class="refsect1" title="Implemented Interfaces">
<a name="InfStandaloneIo.implemented-interfaces"></a><h2>Implemented Interfaces</h2>
<p>
InfStandaloneIo implements
 <a class="link" href="InfIo.html" title="InfIo">InfIo</a>.</p>
</div>
<div class="refsect1" title="Description">
<a name="InfStandaloneIo.description"></a><h2>Description</h2>
<p>
</p>
</div>
<div class="refsect1" title="Details">
<a name="InfStandaloneIo.details"></a><h2>Details</h2>
<div class="refsect2" title="InfStandaloneIo">
<a name="InfStandaloneIo-struct"></a><h3>InfStandaloneIo</h3>
<pre class="programlisting">typedef struct _InfStandaloneIo InfStandaloneIo;</pre>
<p>
</p>
</div>
<hr>
<div class="refsect2" title="InfStandaloneIoClass">
<a name="InfStandaloneIoClass"></a><h3>InfStandaloneIoClass</h3>
<pre class="programlisting">typedef struct {
  GObjectClass parent_class;
} InfStandaloneIoClass;
</pre>
<p>
</p>
</div>
<hr>
<div class="refsect2" title="inf_standalone_io_new ()">
<a name="inf-standalone-io-new"></a><h3>inf_standalone_io_new ()</h3>
<pre class="programlisting"><a class="link" href="InfStandaloneIo.html" title="InfStandaloneIo"><span class="returnvalue">InfStandaloneIo</span></a> *   inf_standalone_io_new               (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
<p>
Creates a new <a class="link" href="InfStandaloneIo.html" title="InfStandaloneIo"><span class="type">InfStandaloneIo</span></a>.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody><tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td> A new <a class="link" href="InfStandaloneIo.html" title="InfStandaloneIo"><span class="type">InfStandaloneIo</span></a>. Free with <a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#g-object-unref"><code class="function">g_object_unref()</code></a> when no longer
needed.
</td>
</tr></tbody>
</table></div>
</div>
<hr>
<div class="refsect2" title="inf_standalone_io_iteration ()">
<a name="inf-standalone-io-iteration"></a><h3>inf_standalone_io_iteration ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>                inf_standalone_io_iteration         (<em class="parameter"><code><a class="link" href="InfStandaloneIo.html" title="InfStandaloneIo"><span class="type">InfStandaloneIo</span></a> *io</code></em>);</pre>
<p>
Performs a single iteration of <em class="parameter"><code>io</code></em>. The call will block until a first
event has occured. Then, it will process that event and return.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody><tr>
<td><p><span class="term"><em class="parameter"><code>io</code></em> :</span></p></td>
<td>A <a class="link" href="InfStandaloneIo.html" title="InfStandaloneIo"><span class="type">InfStandaloneIo</span></a>.
</td>
</tr></tbody>
</table></div>
</div>
<hr>
<div class="refsect2" title="inf_standalone_io_iteration_timeout ()">
<a name="inf-standalone-io-iteration-timeout"></a><h3>inf_standalone_io_iteration_timeout ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>                inf_standalone_io_iteration_timeout (<em class="parameter"><code><a class="link" href="InfStandaloneIo.html" title="InfStandaloneIo"><span class="type">InfStandaloneIo</span></a> *io</code></em>,
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> timeout</code></em>);</pre>
<p>
Performs a single iteration of <em class="parameter"><code>io</code></em>. The call will block until either an
event occured or <em class="parameter"><code>timeout</code></em> milliseconds have elapsed. If an event occured,
the event will be processed before returning.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>io</code></em> :</span></p></td>
<td>A <a class="link" href="InfStandaloneIo.html" title="InfStandaloneIo"><span class="type">InfStandaloneIo</span></a>.
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>timeout</code></em> :</span></p></td>
<td>Maximum number of milliseconds to block.
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" title="inf_standalone_io_loop ()">
<a name="inf-standalone-io-loop"></a><h3>inf_standalone_io_loop ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>                inf_standalone_io_loop              (<em class="parameter"><code><a class="link" href="InfStandaloneIo.html" title="InfStandaloneIo"><span class="type">InfStandaloneIo</span></a> *io</code></em>);</pre>
<p>
This call will cause <em class="parameter"><code>io</code></em> to wait for events and process them, but not
return until <a class="link" href="InfStandaloneIo.html#inf-standalone-io-loop-quit" title="inf_standalone_io_loop_quit ()"><code class="function">inf_standalone_io_loop_quit()</code></a> is called.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody><tr>
<td><p><span class="term"><em class="parameter"><code>io</code></em> :</span></p></td>
<td>A <a class="link" href="InfStandaloneIo.html" title="InfStandaloneIo"><span class="type">InfStandaloneIo</span></a>.
</td>
</tr></tbody>
</table></div>
</div>
<hr>
<div class="refsect2" title="inf_standalone_io_loop_quit ()">
<a name="inf-standalone-io-loop-quit"></a><h3>inf_standalone_io_loop_quit ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>                inf_standalone_io_loop_quit         (<em class="parameter"><code><a class="link" href="InfStandaloneIo.html" title="InfStandaloneIo"><span class="type">InfStandaloneIo</span></a> *io</code></em>);</pre>
<p>
Exits a loop in which <em class="parameter"><code>io</code></em> is running through a call to
<a class="link" href="InfStandaloneIo.html#inf-standalone-io-loop" title="inf_standalone_io_loop ()"><code class="function">inf_standalone_io_loop()</code></a>.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody><tr>
<td><p><span class="term"><em class="parameter"><code>io</code></em> :</span></p></td>
<td>A <a class="link" href="InfStandaloneIo.html" title="InfStandaloneIo"><span class="type">InfStandaloneIo</span></a>.
</td>
</tr></tbody>
</table></div>
</div>
<hr>
<div class="refsect2" title="inf_standalone_io_loop_running ()">
<a name="inf-standalone-io-loop-running"></a><h3>inf_standalone_io_loop_running ()</h3>
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>            inf_standalone_io_loop_running      (<em class="parameter"><code><a class="link" href="InfStandaloneIo.html" title="InfStandaloneIo"><span class="type">InfStandaloneIo</span></a> *io</code></em>);</pre>
<p>
Returns whether <em class="parameter"><code>io</code></em> runs currently in a loop initiated with
<a class="link" href="InfStandaloneIo.html#inf-standalone-io-loop" title="inf_standalone_io_loop ()"><code class="function">inf_standalone_io_loop()</code></a>.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>io</code></em> :</span></p></td>
<td>A <a class="link" href="InfStandaloneIo.html" title="InfStandaloneIo"><span class="type">InfStandaloneIo</span></a>.
</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td> Whether <em class="parameter"><code>io</code></em> runs in a loop.
</td>
</tr>
</tbody>
</table></div>
</div>
</div>
</div>
<div class="footer">
<hr>
          Generated by GTK-Doc V1.15</div>
</body>
</html>